package com.achobeta.recruitment.model.vo;

import com.achobeta.recruitment.model.Feedback;
import com.achobeta.recruitment.model.Message;
import com.achobeta.recruitment.model.Student;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 马拉圈
 * Date: 2023-10-31
 * Time: 22:13
 */
@Data
public class MessageVO extends Message {
    private List<Student> students; // 发送给的学生数组（用于接受请求用的字段），但是暂时不在后端解决群发

    private Feedback feedback; // 若message有被反馈则有这个属性的数据，只要不bean注入，循环引用也无所谓

    private String name;

    private String managerName;

    @Override
    public String toString() {
        return "MessageVO{" +
                "name='" + name + '\'' +
                ", managerName='" + managerName + '\'' +
                '}' + super.toString();
    }
}
